<div>
    <!-- 弹层 -->
    <div class="black" v-show="msgShow">
        <div class="fff">
            {{msg}}
            <div @click="closeMsg">关闭</div>
        </div>
    </div> 
    <!-- 注册 -->
    <div class="register">
        <div>用户名：</div>
        <input type="text" v-model="name"/>
        <div>账号：</div>
        <input type="text" v-model="user"/>
        <div>密码：</div>
        <input type="text" v-model="pwd"/>
        <div @click="registerSubmit">注册</div>
    </div>
</div>